/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.suggest;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.suggest.Suggest;

/**
 * @author Administrator (email:granzy@sohu.com)
 * @since 2013-02-25
 */
public interface SuggestService {

    /****************************************
     * Insert a instace of Suggest
     ****************************************/
    void insert(Suggest suggest) throws Exception;

    /****************************************
     * Insert instaces of Suggest
     ****************************************/
    void batchInsert(Suggest suggest) throws Exception;

    /****************************************
     * Delete a instace of Suggest
     ****************************************/
    void delete(Suggest suggest) throws Exception;

    /****************************************
     * Delete instaces of Suggest
     ****************************************/
    void batchDelete(Suggest suggest) throws Exception;

    /****************************************
     * Update a instace of Suggest
     ****************************************/
    void update(Suggest suggest) throws Exception;

    /****************************************
     * Query instaces of Suggest
     ****************************************/
    List<BaseModel> queryAsList(Suggest suggest) throws Exception;

    /****************************************
     * Query a instaces of Suggest
     ****************************************/
    BaseModel queryAsObject(Suggest suggest) throws Exception;
}
